package com.peiqi.aiproject.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName posts
 */
@TableName(value ="posts")
@Data
public class Posts implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer userId;

    /**
     * 
     */
    private String description;

    /**
     * 
     */
    private Integer forwardCount;

    /**
     * 
     */
    private Integer commentCount;

    /**
     * 
     */
    private Integer likeCount;

    /**
     * 
     */
    private String avatar;

    /**
     * 
     */
    private String tags;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}